using System;
using System.ComponentModel;
using Csla;
using lite;
using Csla.Validation;
using Csla.Data;
using System.Data.SqlClient;
using OpenExpressApp.ORM;
namespace ZX.EHR.Library
{
	[Serializable]
    [Table(Name = "salProvisionData")]
    [ZX.DBModule.Table("salProvisionData", "ID")]
    public class salProvisionData : ZX.DBModule.BaseEntity
	{
        public salProvisionData()
		{

		}

		private System.DateTime _AddTime;
		[Column]
		public System.DateTime AddTime
		{
 			get { return _AddTime; }
			set { _AddTime = value; }
		}

        [Column]
        public Guid AddUser
        {
            get;
            set;
        }

        [Column]
        public string ProductName
        {
            get;
            set;
        }

        [Column]
        public Guid ProdcutID
        {
            get;
            set;
        }

        [Column]
        public int EffectYear
        {
            get;
            set;
        }

        [Column]
        public string Category
        {
            get;
            set;
        }

        [Column]
        public string Condition
        {
            get;
            set;
        }

        [Column]
        public string ConditionExp
        {
            get;
            set;
        }

        [Column]
        public string Notes
        {
            get;
            set;
        }

        [Column]
        public string ConditionJson
        {
            get;
            set;
        }

		private System.Guid _ID;
		[Column]
		public System.Guid ID
		{
 			get { return _ID; }
			set { _ID = value; }
		}

	}
}
